<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
	<head>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta charset="utf-8" />
		<title>数据上报系统后台中心</title>

		<meta name="description" content="" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

		<!-- bootstrap & fontawesome -->
		<link rel="stylesheet" href="/report/Public/assets/css/bootstrap.css" />
		<link rel="stylesheet" href="/report/Public/assets/css/font-awesome.css" />

		<!-- ace styles -->
		<link rel="stylesheet" href="/report/Public/assets/css/ace.css" class="ace-main-stylesheet" id="main-ace-style" />

		<!--[if lte IE 9]>
			<link rel="stylesheet" href="/report/Public/assets/css/ace-part2.css" class="ace-main-stylesheet" />
		<![endif]-->

		<!--[if lte IE 9]>
		  <link rel="stylesheet" href="/report/Public/assets/css/ace-ie.css" />
		<![endif]-->

		<!-- inline styles related to this page -->
        <link rel="stylesheet" href="/report/Public/assets/css/slackck.css" />
		<!-- ace settings handler -->
		<script src="/report/Public/assets/js/ace-extra.js"></script>
		<script src="/report/Public/assets/js/jquery.min.js"></script>
		<script src="/report/Public/assets/js/jquery.form.js"></script>
		<script src="/report/Public/layer/layer.js"></script>
		<!--<script src="/report/Public/assets/js/jquery.leanModal.min.js"></script>-->

		<!--[if lte IE 8]>
		<script src="/report/Public/assets/js/html5shiv.js"></script>
		<script src="/report/Public/assets/js/respond.js"></script>
		<![endif]-->
	</head>

	<body class="no-skin">
		<!-- #section:basics/navbar.layout -->
		<div id="navbar" class="navbar navbar-default navbar-collapse">
		<script type="text/javascript">

				try{ace.settings.check('navbar' , 'fixed')}catch(e){}

			</script>
			<div class="navbar-container" id="navbar-container">
			<button type="button" class="navbar-toggle menu-toggler pull-left" id="menu-toggler" data-target="#sidebar">

					<span class="sr-only">Toggle sidebar</span>



					<span class="icon-bar"></span>



					<span class="icon-bar"></span>



					<span class="icon-bar"></span>

				</button>
				<!-- /section:basics/sidebar.mobile.toggle -->
				<div class="navbar-header pull-left">
					<!-- #section:basics/navbar.layout.brand -->
					<a href="<?php echo U('Index/index');?>" class="navbar-brand">
						<small>
							<i class="fa fa-leaf"></i>
							数据上报系统后台中心
						</small>
					</a>

				</div>

				<!-- #section:basics/navbar.dropdown -->
				<div class="navbar-buttons navbar-header pull-right  collapse navbar-collapse" role="navigation">
					<ul class="nav ace-nav">
					<li class="transparent"></li>
					<li class="transparent">
						<a style="cursor:pointer;" id="cache" class="dropdown-toggle">清除缓存</a>
					</li>
			
						<!-- #section:basics/navbar.user_menu -->
						<li class="light-blue">
							<a data-toggle="dropdown" href="#" class="dropdown-toggle">
								<img class="nav-user-photo" src="/report/Public/assets/avatars/user.jpg" alt="Jason's Photo" />
								<span class="user-info">
									<small>Welcome,</small>
									<?php echo ($_SESSION['admin_username']); ?>
								</span>

								<i class="ace-icon fa fa-caret-down"></i>
							</a>

							<ul class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
<!--								<li>
									<a href="#">
										<i class="ace-icon fa fa-cog"></i>
										个人设置
									</a>
								</li>

								<li>
									<a href="profile.html">
										<i class="ace-icon fa fa-user"></i>
										会员中心
									</a>
								</li>

								<li class="divider"></li>-->

								<li>
									<a href="javascript:;"  id="logout">
										<i class="ace-icon fa fa-power-off"></i>
										注销
									</a>
								</li>
							</ul>
						</li>

						<!-- /section:basics/navbar.user_menu -->
					</ul>
				</div>

				<!-- /section:basics/navbar.dropdown -->
			</div><!-- /.navbar-container -->
		</div>


<script type="text/javascript">
$(document).ready(function(){
	$("#logout").click(function(){
		layer.confirm('你确定要退出吗？', {icon: 3}, function(index){
	    layer.close(index);
	    window.location.href="<?php echo U('Login/logout');?>";
	});
	});
});



$(function(){
$('#cache').click(function(){
if(confirm("确认要清除缓存？")){
var $type=$('#type').val();
var $mess=$('#mess');
$.post('/report/index.php/Admin/User/clear',{type:$type},function(data){
alert("缓存清理成功");
});
}else{
return false;
}
});
});
</script>


<!-- /section:basics/navbar.layout -->
<div class="main-container" id="main-container">
        <link rel="stylesheet" href="/report/Public/Home/css/list.css" />
    <!-- #section:basics/sidebar -->
    <style type="text/css">
        .listline{
            width: 100%;
            line-height: 20px;
        }
        .listoption li{
            width: 49%;
            float: left;
            margin-left: 3px; 
        }
        input {
            height: 20px;
        }
        .listoption1 li{
            width: 97%;
            float: left;
            margin-left: 6px; 
        }
    </style>
    <div id="sidebar" class="sidebar responsive sidebar-fixed">

<!--	<div class="sidebar-shortcuts" id="sidebar-shortcuts">
		&lt;!&ndash;左侧顶端按钮&ndash;&gt;
		<div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
			<a class="btn btn-success" href="#" role="button" title="文章列表"><i class="ace-icon fa fa-signal"></i></a>
			<a class="btn btn-info" href="#" role="button" title="添加文章"><i class="ace-icon fa fa-pencil"></i></a>
			<a class="btn btn-warning" href="#" role="button" title="会员列表"><i class="ace-icon fa fa-users"></i></a>
			<a class="btn btn-danger" href="#" role="button" title="站点设置"><i class="ace-icon fa fa-cogs"></i></a>
		</div>
        &lt;!&ndash;左侧顶端按钮（手机）&ndash;&gt;
		<div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
			<a class="btn btn-success" href="#" role="button" title="文章列表"></a>
			<a class="btn btn-info" href="#" role="button" title="添加文章"></a>
			<a class="btn btn-warning" href="#" role="button" title="会员列表"></a>
			<a class="btn btn-danger" href="#" role="button" title="站点设置"></a>
		</div>
	</div>-->
    <!--菜单栏开始-->
	<ul class="nav nav-list">
		<?php use Common\Controller\AuthController; use Think\Auth; $m = M('auth_rule'); $field = 'id,name,title,css'; $data = $m->field($field)->where('pid=0 AND status=1 and menustatus=1')->order('sort')->select(); $auth = new Auth(); foreach ($data as $k=>$v){ if(!$auth->check($v['name'], $_SESSION['aid']) && $_SESSION['aid'] != 1){ unset($data[$k]); } } ?>
        <!--一级菜单遍历-->
		<?php if(is_array($data)): foreach($data as $key=>$v): ?><li class="<?php if(CONTROLLER_NAME == $v['name']): ?>open<?php endif; ?>">
			<a href="#" class="dropdown-toggle">
				<i class="menu-icon fa <?php echo ($v["css"]); ?>"></i>
							<span class="menu-text">
								<?php echo ($v["title"]); ?>
							</span>

				<b class="arrow fa fa-angle-down"></b>
			</a>
			<b class="arrow"></b>
			<ul class="submenu">
				<?php $m = M('auth_rule'); $dataa = $m->where(array('pid'=>$v['id'],'menustatus'=>1))->order('sort')->select(); foreach ($dataa as $kk=>$vv){ if(!$auth->check($vv['name'], $_SESSION['aid']) && $_SESSION['aid'] != 1){ unset($dataa[$kk]); } } $id_4=$m->where(array('name'=>CONTROLLER_NAME.'/'.ACTION_NAME,'level'=>4))->field('pid')->find(); if($id_4){ $id_3=$m->where(array('id'=>$id_4['pid'],'level'=>3))->field('pid')->find(); }else{ $id_3=$m->where(array('name'=>CONTROLLER_NAME.'/'.ACTION_NAME,'level'=>3))->field('pid')->find(); if(!$id_3){ $id_2=$m->where(array('name'=>CONTROLLER_NAME.'/'.ACTION_NAME,'level'=>2))->field('id')->find(); $id_3['pid']=$id_2['id']; } } ?>
                <!--二级菜单遍历-->
				<?php if(is_array($dataa)): foreach($dataa as $key=>$j): $m = M('auth_rule'); $dataaa = $m->where(array('pid'=>$j['id'],'status'=>1,'menustatus'=>1))->order('sort')->select(); foreach ($dataaa as $kkk=>$vvv){ if(!$auth->check($vvv['name'], $_SESSION['aid']) && $_SESSION['aid'] != 1){ unset($dataaa[$kkk]); } } ?>
					<?php if(empty($dataaa)): ?><!-- 无三级菜单 -->
					<li class="<?php if(($id_3['pid'] == $j['id'])): ?>active open<?php endif; ?>">
						<a href="<?php echo U($j['name']);?>">
							<i class="menu-icon fa fa-caret-right"></i>
							<?php echo ($j["title"]); ?>
						</a>
						<b class="arrow"></b>
					</li>
					<?php else: ?>
					<li class="<?php if(($id_3['pid'] == $j['id'])): ?>active open<?php endif; ?>">
						<a href="#" class="dropdown-toggle">
							<i class="menu-icon fa fa-caret-right"></i>
							<?php echo ($j["title"]); ?>
							<b class="arrow fa fa-angle-down"></b>
						</a>
						<b class="arrow"></b>
						<ul class="submenu">
							<!--三级菜单遍历-->
							 <?php if(is_array($dataaa)): foreach($dataaa as $key=>$m): ?><li class="<?php if(((CONTROLLER_NAME.'/'.ACTION_NAME) == $m['name'])): ?>active<?php endif; ?>">
								<a href="<?php echo U($m['name']);?>">
									<i class="menu-icon fa fa-leaf green"></i>
									<?php echo ($m["title"]); ?>
								</a>
								<b class="arrow"></b>
								</li><?php endforeach; endif; ?>
							<!--三级菜单遍历结束-->
						</ul>
					</li><?php endif; endforeach; endif; ?>
                <!--二级菜单遍历结束-->
			</ul>
			</li><?php endforeach; endif; ?>
        <!--一级菜单遍历结束-->
	</ul><!-- 菜单栏结束 -->

	<!-- 左侧菜单伸缩 -->
	<div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
		<i class="ace-icon fa fa-angle-double-left" data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
	</div>
	<script type="text/javascript">
		try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
	</script>
</div>

    <!-- /section:basics/sidebar -->
    <div class="main-content">
        <div class="main-content-inner">
            <div class="page-content">


                <div class="page-header">
                    <h1>
                        您当前操作
                        <small>
                            <i class="ace-icon fa fa-angle-double-right"></i>
                            查看调查情况
                        </small>
                    </h1>
                </div>
 



                            <div class="content" style="font-size: 13px;">
    <form  action="<?php echo U('research_edit_run');?>" method="post" id="form1">
        <input type="hidden" name="id" value="<?php echo ($res["id"]); ?>">
        <div style="margin:0 auto; width: 60%; border: 1px solid;">
            <div class="listline">
                <div style="border:1px solid; width: 55%;float: left;">
                    <p style="margin-top:5px;">　组织机构代码<span style="color: red;">*</span> &nbsp;&nbsp;&nbsp;&nbsp;<input type="text" value="<?php echo ($res["jg_code"]); ?>" name="jg_code" id="jg_code" class="checktext"></p>
                    <p>　统一社会信用代码<span style="color: red;">*</span> &nbsp;&nbsp;&nbsp;&nbsp; <input type="text" name="xy_code" value="<?php echo ($res["xy_code"]); ?>" id="xy_code" class="checktext"></p>
                </div>
                <div style=" width: 45%;float: left;">
                    <p style="margin: 20px auto;">　单位详细名称<span style="color: red;">*</span>  &nbsp;&nbsp;&nbsp;&nbsp; <input type="text" value="<?php echo ($res["name"]); ?>" class="checktext" id="name" name="name"></p>
                </div>
            </div>
            <div class="listline">
                <div style="width: 100%; border: 1px solid;clear: both;padding-top: 5px;">
                    <p>　主要业务活动<span style="color: red;">*</span></p>
                    &nbsp;&nbsp;&nbsp;1:<input type="text" class="checktext" id="activity1" value="<?php echo ($res["activity1"]); ?>" name="activity1">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2:<input type="text" name="activity2" value="<?php echo ($res["activity2"]); ?>">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3:<input type="text" name="activity3" value="<?php echo ($res["activity3"]); ?>">
                </div>
            </div>
            <div class="listline">
                <div style="width: 100%;border: 1px solid;padding-top: 5px;">
                    <p>　单位所在地及区划<span style="color: red;">*</span></p>
                    &nbsp;&nbsp;&nbsp;<input type="text" value="<?php echo ($res["province"]); ?>" class="checktext" name="province" id="province">省(自治区、直辖市)<input type="text" class="checktext" value="<?php echo ($res["city"]); ?>" id="city" name="city">地(区、县、州)<input type="text" value="<?php echo ($res["county"]); ?>" class="checktext" id="county" name="county">县(区、市)<input type="text" class="checktext" value="<?php echo ($res["village"]); ?>" id="village" name="village">乡(镇)<input type="text" value="<?php echo ($res["street"]); ?>" class="checktext" id="street" name="street">街(村)、门牌号<br/>
                    &nbsp;&nbsp;&nbsp;单位位于：<input id="agency" type="text" name="agency" value="<?php echo ($res["agency"]); ?>" class="checktext">街道办事处<input id="community" type="text" class="checktext" value="<?php echo ($res["community"]); ?>" name="community">社区(居委会)
                </div>
            </div>
            <div class="listline">
                <div style="width: 100%;border: 1px solid;padding-top: 5px;">
                    <p>&nbsp;&nbsp;单位注册地及区划<span style="color: red;">*</span></p>
                    &nbsp;&nbsp;&nbsp;<input type="text" value="<?php echo ($res["reg_province"]); ?>" id="reg_province" class="checktext" name="reg_province">省(自治区、直辖市)<input type="text" value="<?php echo ($res["reg_city"]); ?>" class="checktext" id="reg_city" name="reg_city">地(区、县、州)<input type="text" value="<?php echo ($res["reg_county"]); ?>" class="checktext" id="reg_county" name="reg_county">县(区、市)<input class="checktext" type="text" value="<?php echo ($res["reg_village"]); ?>" id="reg_village" name="reg_village">乡(镇)<input class="checktext" type="text" value="<?php echo ($res["reg_street"]); ?>" id="reg_street" name="reg_street">街(村)、门牌号<br/>
                    &nbsp;&nbsp;&nbsp;注册地位于：<input type="text" name="reg_agency" id="reg_agency" value="<?php echo ($res["reg_agency"]); ?>" class="checktext">街道办事处<input type="text" name="reg_community" class="checktext" value="<?php echo ($res["reg_community"]); ?>" id="reg_community">社区(居委会)
                </div>
            </div>

            <div class="listline">
                <div style="width: 100%; border: 1px solid; padding-top: 5px;">
                    &nbsp;&nbsp;从业人员<span style="color: red;">*</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;从业人员期末人数<input value="<?php echo ($res["employee"]); ?>"  class="checktext" type="text" id="employee" name="employee">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;其中：女性<input class="checktext" type="text" value="<?php echo ($res["women"]); ?>" id="women" name="women">
                </div>
            </div>

            <div class="listline">
                <div style="width: 100%; border: 1px solid; padding-top: 5px;">
                    <p>&nbsp;&nbsp;企业主要经济指标</p>
                    &nbsp;&nbsp;&nbsp;营业收入<input value="<?php echo ($res["income"]); ?>" type="text" name="income">千元&nbsp;&nbsp;其中：主营业务收入<input type="text" name="main_income" value="<?php echo ($res["main_income"]); ?>">千元&nbsp;&nbsp;&nbsp;&nbsp;资产总计：<input value="<?php echo ($res["assets"]); ?>" type="text" name="assets">千元<br/>
                    &nbsp;&nbsp;营业税金及附加<input value="<?php echo ($res["tax"]); ?>" type="text" name="tax">千元&nbsp;&nbsp;&nbsp;&nbsp;其中：主营业务税金及附加<input type="text" name="main_tax" value="<?php echo ($res["main_tax"]); ?>">千元
                </div>
            </div>
            <div class="listline">
                <div style="width: 100%; border: 1px solid; height: 30px;">
                    <div style="float: left; height: 30px; border: 1px solid; width: 50%;">
                        &nbsp;&nbsp;&nbsp;法定代表人(单位负责人)<span style="color: red;">*</span><input id="person" type="text" value="<?php echo ($res["person"]); ?>" name="person" class="checktext">
                    </div>
                    <div style="float: left; height: 30px; border: 1px solid; width: 50%;">
                        &nbsp;&nbsp;&nbsp;开业(成立)时间<span style="color: red;">*</span><input id="opentime" type="text" name="opentime" value="<?php echo ($res["opentime"]); ?>" class="checktext">
                    </div>
                </div>
            </div>
            <div class="listline">
                <div style="width: 100%; overflow: hidden; border: 1px solid;">
                    <div style="float: left; border: 1px solid; width: 50%;">
                        <p style="padding-top: 5px;">&nbsp;&nbsp;&nbsp;联系方式</p>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;长途区号<input type="text" value="<?php echo ($res["areacode"]); ?>" name="areacode"><br/>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;国定电话<input type="text" name="tel" value="<?php echo ($res["tel"]); ?>"><br/>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;移动电话<input type="text" name="moblie" value="<?php echo ($res["moblie"]); ?>"><br/>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;传真号码<input type="text" value="<?php echo ($res["fax"]); ?>" name="fax"><br/>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;邮政编码<input type="text" name="zip" value="<?php echo ($res["zip"]); ?>">
                    </div>
                    <div style="float: left; top: 50px; position: relative; width: 50%;">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;电子邮箱<input type="text" name="email" value="<?php echo ($res["email"]); ?>"><br/>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;　网&nbsp;址&nbsp;&nbsp;<input value="<?php echo ($res["url"]); ?>" type="text" name="url">
                    </div>
                </div>
                <div style="listline">
                    <div style="width: 100%; border: 1px solid; padding-top: 5px; overflow: hidden;">
                        <p>&nbsp;&nbsp;&nbsp;登记注册类型<span style="color: red;">*</span>&nbsp;&nbsp;<input type="text" id="reg_type" name="reg_type" value="<?php echo ($res["reg_type"]); ?>" class="checktext"></p>
                        <div style="float: left; width: 50%;">
                            &nbsp;&nbsp;<b>内资</b>
                            <ul class="listoption">
                                <li>110&nbsp;国有</li>
                                <li>159&nbsp;其他有限责任公司</li>
                                <li>120&nbsp;集体</li>
                                <li>160&nbsp;股份有限公司</li>
                                <li>130&nbsp;股份合作</li>
                                <li>171&nbsp;私营独资</li>
                                <li>141&nbsp;国有联营</li>
                                <li>172&nbsp;私营合伙</li>
                                <li>142&nbsp;集体联营</li>
                                <li>173&nbsp;私营有限责任公司</li>
                                <li>143&nbsp;国有与集体联营</li>
                                <li>174&nbsp;私营股份有限公司</li>
                                <li>149&nbsp;其他联营</li>
                                <li>190&nbsp;其他</li>
                                <li>151&nbsp;国有独资公司</li>
                            </ul>
                        </div>
                        <div style="float: left; width: 25%;">
                            &nbsp;&nbsp;<b>港澳台商投资</b>
                            <ul class="listoption1">
                                <li>210&nbsp;与港澳台商合资经营</li>
                                <li>220&nbsp;与港澳台商合作经营</li>
                                <li>230&nbsp;港澳台商独资</li>
                                <li>240&nbsp;港澳台商投资股份有限公司</li>
                                <li>290&nbsp;其他港澳台投资</li>
                            </ul>
                        </div>
                        <div style="float: left; width: 25%;">
                            &nbsp;&nbsp;<b>外商投资</b>
                            <ul class="listoption1">
                                <li>310&nbsp;中外合资经营</li>
                                <li>320&nbsp;中外合作经营</li>
                                <li>330&nbsp;外资企业</li>
                                <li>340&nbsp;外商投资股份有限公司</li>
                                <li>390&nbsp;其他外商投资</li>
                            </ul>
                        </div>
                    </div>
                    
                </div>

                <div class="listline">
                    <div style="width: 100%; border: 1px solid; padding-top: 5px;">
                        <p>&nbsp;&nbsp;&nbsp;是否台商投资(限港澳台商投资企业填报)<span style="color: red;">*</span>&nbsp;&nbsp;&nbsp;<input type="text" name="is_investment" value="<?php echo ($res["is_investment"]); ?>" class="checktext" id="is_investment"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 是 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2 否</p>
                    </div>
                </div>

                <div class="listline">
                    <div style="width: 100%; border: 1px solid; padding-top: 5px;">
                        <p>&nbsp;&nbsp;&nbsp;企业控股状态<span style="color: red;">*</span>&nbsp;&nbsp;&nbsp;<input type="text" name="holdingstate" value="<?php echo ($res["holdingstate"]); ?>" class="checktext" id="holdingstate"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 国有控股 &nbsp;&nbsp;&nbsp; 2 集体控股 &nbsp;&nbsp;&nbsp; 3 私人控股 &nbsp;&nbsp;&nbsp; 4 港澳台商控股 &nbsp;&nbsp;&nbsp; 5 外商控股 &nbsp;&nbsp;&nbsp; 9 其他</p>
                    </div>
                </div>

                <div class="listline">
                    <div style="width: 100%; border: 1px solid; padding-top: 5px;">
                        &nbsp;&nbsp;&nbsp;营业状态<span style="color: red;">*</span>&nbsp;&nbsp;&nbsp;<input type="text" class="checktext" value="<?php echo ($res["bussstate"]); ?>" name="bussstate" name="bussstate"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 营业 &nbsp;&nbsp;&nbsp; 2 停业(歇业) &nbsp;&nbsp;&nbsp; 3 筹建 &nbsp;&nbsp;&nbsp; 4 当年关闭 &nbsp;&nbsp;&nbsp; 5 当年破产 &nbsp;&nbsp;&nbsp; 6 当年注销  &nbsp;&nbsp;&nbsp; 7 当年吊销 &nbsp;&nbsp;&nbsp; 8 当年注册未经营 &nbsp;&nbsp;&nbsp; 9 其他
                    </div>
                </div>

                <div class="listline">
                    <div style="width: 100%; border: 1px solid; padding-top: 5px;">
                        &nbsp;&nbsp;&nbsp;企业集团状况(限企业集团母公司及成员企业填写)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;本企业是<input value="<?php echo ($res["companystatus"]); ?>" type="text" name="companystatus"><br/> 
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 集团母公司(核心企业或集团总部)<br/>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2 成员企业——请填直接上级法人单位组织机构代码 <input type="text" value="<?php echo ($res["upjg_code"]); ?>" name="upjg_code"><br/>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;上级法人统一社会信用代码 <input type="text" name="upxy_code" value="<?php echo ($res["upxy_code"]); ?>">
                    </div>
                </div>
                <div class="listline">
                    单位负责人<span style="color: red;">*</span>：<?php echo ($res["agenter"]); ?>&nbsp;&nbsp;&nbsp;&nbsp;统计负责人<span style="color: red;">*</span>：<?php echo ($res["addpeople"]); ?>&nbsp;&nbsp;&nbsp;&nbsp;填表人<span style="color: red;">*</span>：<?php echo ($res["writepeople"]); ?>&nbsp;&nbsp;&nbsp;&nbsp;联系电话<span style="color: red;">*</span>：<?php echo ($res["contact"]); ?>&nbsp;&nbsp;&nbsp;&nbsp; 报出日期：
                    <?php echo (date("Y.m.d",$res["addtime"])); ?>
                </div>
            </div>
            
        </div>
            <div class="clearFLoat">
                            <button id="submit"><span class="myIcon">&#xe613;</span>修改数据</button>
                        </div>
        </form>
    </div>
                   
             

                <div class="breadcrumbs breadcrumbs-fixed " id="breadcrumbs">
	<div class="row">
		<div class="col-xs-12">
			<div class="">
				<div id="sidebar2" class="sidebar h-sidebar navbar-collapse collapse collapse_btn">
					<ul class="nav nav-list header-nav" id="header-nav">
						<?php $m = M('auth_rule'); $dataaa = $m->where(array('pid'=>$id_3['pid'],'status'=>1,'menustatus'=>1))->order('sort')->select(); foreach ($dataaa as $kkk=>$vvv){ if(!$auth->check($vvv['name'], $_SESSION['aid']) && $_SESSION['aid']!= 1){ unset($dataaa[$kkk]); } } if(empty($dataaa)){ $dataaa = $m->where(array('id'=>$id_3['pid']))->order('sort')->find(); $dataaa = $m->where(array('pid'=>$dataaa['pid'],'status'=>1))->order('sort')->select(); if(!$auth->check($vvv['name'], $_SESSION['aid']) && $_SESSION['aid']!= 1){ unset($dataaa[$kkk]); } } ?>
    					<?php if(is_array($dataaa)): foreach($dataaa as $key=>$k): ?><li>
										<a href="<?php echo U(''.$k['name'].'');?>">
											<o class="font12 <?php if((CONTROLLER_NAME.'/'.ACTION_NAME == $k['name'])): ?>rigbg<?php endif; ?>"><?php echo ($k["title"]); ?></o>
										</a>

								<b class="arrow"></b>
							</li><?php endforeach; endif; ?>
					</ul><!-- /.nav-list -->
				</div><!-- .sidebar -->
			</div>
		</div><!-- /.col -->
	</div><!-- /.row -->
	
</div>

            </div><!-- /.page-content -->
        </div>
    </div><!-- /.main-content -->


    <script>

        $('#form1').ajaxForm({
            beforeSubmit: checkForm, // 此方法主要是提交前执行的方法，根据需要设置
            success: complete, // 这是提交后的方法
            dataType: 'json'
        });
        function checkForm(){
            /*var isnull = false;
            $('.checktext').each(function(){
                if ('' == $.trim($(this).val())) {
                    layer.msg("必填项必填！",  {
                            icon: 2,
                            time: 1000 //1秒关闭（如果不配置，默认是3秒）
                        });
                    $(this).focus();
                    isnull = true;
                    return false;
                }
            });
            if (isnull) {
                return false;
            }*/
        }
        function complete(data){
            if(data.status==1){
                layer.msg(data.info, {icon: 1,time:1000,end:function(){
                    window.location.href=data.url;
                }});
                
            }else{
                layer.msg(data.info, {icon: 2,time:1000});
                return false;
            }
        }       

    </script>
    			<div class="footer">
				<div class="footer-inner">
					<!-- #section:basics/footer -->
					<div class="footer-content">
						<span class="bigger-120">
							<span class="blue bolder">成信大创新创业教育</span>
							后台管理系统 &copy; 2015-2016
						</span>
					</div>

					<!-- /section:basics/footer -->
				</div>
			</div>
            

		<!-- basic scripts -->


<!--[if IE]>
<script type="text/javascript">
 window.jQuery || document.write("<script src='../assets/js/jquery1x.js'>"+"<"+"/script>");
</script>
<![endif]-->

		<script src="/report/Public/assets/js/bootstrap.js"></script>
		<script src="/report/Public/assets/js/maxlength.js"></script>
		<script src="/report/Public/assets/js/ace/ace.js"></script>
		<script src="/report/Public/assets/js/ace/ace.sidebar.js"></script>


		<!-- inline scripts related to this page -->
		<script type="text/javascript">
			jQuery(function($) {
			   $('#sidebar2').insertBefore('.page-content');
			   
			   $('.navbar-toggle[data-target="#sidebar2"]').insertAfter('#menu-toggler');
			   
			   
			   $(document).on('settings.ace.two_menu', function(e, event_name, event_val) {
				 if(event_name == 'sidebar_fixed') {
					 if( $('#sidebar').hasClass('sidebar-fixed') ) {
						$('#sidebar2').addClass('sidebar-fixed');
						$('#navbar').addClass('h-navbar');
					 }
					 else {
						$('#sidebar2').removeClass('sidebar-fixed')
						$('#navbar').removeClass('h-navbar');
					 }
				 }
			   }).triggerHandler('settings.ace.two_menu', ['sidebar_fixed' ,$('#sidebar').hasClass('sidebar-fixed')]);
			})
		</script>


</div><!-- /.main-container -->
</body>
</html>